package com.ubb.dbms.domain.xml;

import java.util.List;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;

@Root (name = "foreignKey")
public class ForeignKey {
	
	@ElementList (name= "fkAttribute", required= true, inline = true)
	private List<FkAttribute> fkAttributeList;
	
	@Element (name = "references", required = true)
	private References references;

	public List<FkAttribute> getFkAttributeList() {
		return fkAttributeList;
	}

	public void setFkAttributeList(List<FkAttribute> fkAttributeList) {
		this.fkAttributeList = fkAttributeList;
	}

	public References getReferences() {
		return references;
	}

	public void setReferences(References references) {
		this.references = references;
	}
	
}
